package net.maku.convert;


import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import net.maku.bean.vo.WebPayRecordVO;
import net.maku.entity.WebPayRecordEntity;

import java.util.List;

/**
* 支付信息表
*
* @author 阿沐 babamu@126.com
* @since 1.0.0 2024-09-02
*/
@Mapper
public interface WebPayRecordConvert {
    WebPayRecordConvert INSTANCE = Mappers.getMapper(WebPayRecordConvert.class);

    WebPayRecordEntity convert(WebPayRecordVO vo);

    WebPayRecordVO convert(WebPayRecordEntity entity);

    List<WebPayRecordVO> convertList(List<WebPayRecordEntity> list);

}